package com.wfx.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/*      ,data: [{
        title: '江西' //一级菜单
        ,children: [{
          title: '南昌' //二级菜单
          ,children: [{
            title: '高新区' //三级菜单*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TreeNode {
    private String id; //节点的id，id属性用来存放module_code
    private String title;//节点名称,title用来存放module_name
    private boolean spread = true; //标记当前节点是否展开
    private boolean checked;//标记当前节点是否选中
    private List<TreeNode> children; //当前节点的子节点
    private String linkUrl;
}
